<!--begin footer-->
  <div class="EXLFooterLinksContainer">
    <ul class="EXLFooterLinksList1">
      <li class="EXLFooterFirstLink"><a href="#">Home</a></li>
      <!-- <li><a href="#">RSS feed</a></li> -->

      <li><a href="http://www.sussex.ac.uk/library/">Library homepage</a></li>
	<li><a href="http://www.sussex.ac.uk/library/online/searchhelp" target="_blank">How to use Library Search</a></li>
      
      <li class="EXLFooterLastLink"><a href="http://www.sussex.ac.uk/library/contact" target="_blank">Contact Us</a></li>
    </ul>
    <ul class="EXLFooterLinksList2">
      <li class="EXLFooterFirstLink"><a href="#">Powered by ExLibris 
Primo</a></li>
      <li><a href="#">Copyright &copy;</a></li>
		<li><a href="http://www.sussex.ac.uk/disclaimer/cookies">Cookies</a></li>
      <li class="EXLFooterLastLink"><a href="http://www.sussex.ac.uk/disclaimer">Disclaimer</a></li>
    </ul>
  </div>

<script type="text/javascript">
$(function() {
	// Make Request tab open in same window
        $('li.EXLRequestTab a').removeAttr('target');

        $('li.EXLRequestTab').removeClass('EXLResultTabIconPopout');

	
	$("span.EXLLocationInfo strong:contains('MAIN')").text('Long loan');
	// We need to change the names of our collections in the Locations tab.
	// but it is only loaded when the user clicks on it. So we wait for their click
	// and then have a tiny wait (setTimeout) to give the page a chance to load first
	var mapcollectionnames = function( collectionselector ) {
		$(collectionselector + ":contains('MAIN')").text('Long loan');
		$(collectionselector + ":contains('SHOR')").text('Short loan');
		$(collectionselector + ":contains('AV')").text('Audio Visual Collection');
		$(collectionselector + ":contains('RES')").text('Core Collection');
		$(collectionselector + ":contains('CORA')").text('Core Articles');
		$(collectionselector + ":contains('PWT3')").text('Unavailable');
		$(collectionselector + ":contains('SCHL')").text('School (Long loan)');
		$(collectionselector + ":contains('JNLS')").text('Journals check catalogue');
		$(collectionselector + ":contains('ZCHM')").text('Check catalogue');
		$(collectionselector + ":contains('ACQ')").text('Unavailable');
		$("EXLLocationsTitleContainer a:contains('Library')").text('Full availability information');
		
  	}

	// now run for the short summary in the search results.
	 mapcollectionnames('span.EXLAvailabilityCollectionName');
	// and now run when the tab is clicked, but wait a bit while tab loads
	$( ".EXLLocationsTab" ).click(function() {
		setTimeout(function() {
			mapcollectionnames('span.EXLLocationInfo strong');
		}, 300); // 1000 = 1 sec 
		setTimeout(function() {
                        mapcollectionnames('span.EXLLocationInfo strong');
                }, 1000); // if the first one was too quick do it again
	});
	// after a bit of time, try and update the short summaries in search results
	 setTimeout(function() {
		mapcollectionnames('span.EXLAvailabilityCollectionName');
	}, 4000);



});
</script>



<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5692000-18', 'exlibrisgroup.com');
  ga('send', 'pageview');

</script>

<!--end footer-->

